package pojo;

public class UniqueView {
    private String type;
    private Long timestamp;
    private Integer viewCount;

    public UniqueView(){}

    public UniqueView(String type, Long timestamp, Integer viewCount) {
        this.type = type;
        this.timestamp = timestamp;
        this.viewCount = viewCount;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public Integer getViewCount() {
        return viewCount;
    }

    public void setViewCount(Integer viewCount) {
        this.viewCount = viewCount;
    }

    @Override
    public String toString() {
        return "UniqueView{" +
                "type='" + type + '\'' +
                ", timestamp=" + timestamp +
                ", viewCount=" + viewCount +
                '}';
    }
}
